package br.com.localfloripa.entities;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue(value="J")
public class PessoaJuridica extends Pessoa {

	private static final long serialVersionUID = -4965048963691270230L;
	
	@Column(name="cnpj",nullable=true)
	private String cnpj;
	@Column(name="razao_social",nullable=true)
	private String razaoSocial;
	
	public PessoaJuridica() {
		
	}
	public String getCnpj() {
		return cnpj;
	}
	public void setCnpj(String cnpj) {
		this.cnpj = cnpj;
	}
	public String getRazaoSocial() {
		return razaoSocial;
	}
	public void setRazaoSocial(String razaoSocial) {
		this.razaoSocial = razaoSocial;
	}

}
